home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
3_7.lha
/
3_7
/
3_7b.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
293b
|
14 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ Count the characters within the string.
/ Version 2
nt strlen(const char *s)
const char *save = s;
while (*s++)
;
return s - save - 1;